<!DOCTYPE html>
<html lang="en">

<head>
  <script>
    (function(i,s,o,g,r,a,m){i["RangerSiteSDKObject"]=r;(i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)}),(i[r].l=1*new Date());(a=s.createElement(o)),(m=s.getElementsByTagName(o)[0]);a.async=1;a.src=g;a.crossOrigin="anonymous";m.parentNode.insertBefore(a,m);i[r].globalPreCollectError=function(){i[r]("precollect","error",arguments)};if(typeof i.addEventListener==="function"){i.addEventListener("error",i[r].globalPreCollectError,true);i.addEventListener('unhandledrejection', i[r].globalPreCollectError)}if('PerformanceLongTaskTiming'in i){var g=i[r].lt={e:[]};g.o=new PerformanceObserver(function(l){g.e=g.e.concat(l.getEntries())});g.o.observe({entryTypes:['longtask']})}})(window,document,"script","http://localhost:8080/cn/rangers-site-sdk.cn.js","RangersSiteSDK");
    </script>
  <script>
    throw new Error('precollect error before')
  </script>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>SDK Core E2E tests project</title>
  <script type="text/javascript">
    window.RangersSiteSDK('config', {
      app_id: '188835',
    })
  </script>
  <script>
    throw new Error('precollect error after')
  </script>
</head>

<body>
  <link rel="stylesheet" href="https://m.toutiao.com/precollect.css" type="text/css" />
  <div id="app"></div>
</body>

</html>
